message(STATUS "Find Librealsence2")
if (${WITH_TBB} STREQUAL "ON")
    find_package(realsense2 REQUIRED)
    message(STATUS realsense2_LIBRARY="${realsense2_LIBRARY}")
    message(STATUS realsense2_INCLUDE_DIRS="${realsense2_INCLUDE_DIR}")
    include_directories(${realsense2_INCLUDE_DIR})
else ()
    include_directories(${PROJECT_SOURCE_DIR}/../3rdparty/librealsense/include)

endif ()